package com.alks.function.data.request.administration;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
public class EmployeeChangesRequest extends GetRequest{

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("离职开始时间")
    private Date inLeaveTime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("离职结束时间")
    private Date outLeaveTime;

    @ApiModelProperty("1 职务变更,2 部门变更,3 工种变更")
    private Integer type;
}
